package com.kasuroid.core;

import android.graphics.Bitmap;

/**
 * Texture class.
 * @author Tomasz Rusak
 */
public class Texture
{
    Bitmap mBitmap;

    Texture()
    {
        mBitmap = null;
    }

    Texture(Bitmap bitmap)
    {
        setBitmap(bitmap);
    }

    public void setBitmap(Bitmap bitmap)
    {
        mBitmap = bitmap;
    }

    public Bitmap getBitmap()
    {
        return mBitmap;
    }

    public int getWidth()
    {
        return mBitmap.getWidth();
    }

    public int getHeight()
    {
        return mBitmap.getHeight();
    }
}
